home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / Goodies / Aldus Fetch™ / Fetch Browser / Fetch Browser.rsrc / CODE_99_MAMiniInit.txt < prev    next >
Text File  |  1992-10-27  |  52KB  |  921 lines

  1. # near model CODE resource
  2. # jump table entries: 18472-18475 (4 of them)
  3. export_2309:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  102D FC54                move.b     D0, [A5 - 0x3AC]
  6. 00000008  6708                     beq        +0xA /* 00000012 */
  7. 0000000A  42A7                     clr.l      -[A7]
  8. 0000000C  42A7                     clr.l      -[A7]
  9. 0000000E  F21F 9800                .fmove(m)  0xF21F, 0x9800 // unimplemented
  10. label00000012:
  11. 00000012  4EBA 09AC                jsr        [PC + 0x9AC /* 000009C0 */]
  12. 00000016  7000                     moveq.l    D0, 0x00
  13. 00000018  2B40 FC34                move.l     [A5 - 0x3CC], D0
  14. 0000001C  7000                     moveq.l    D0, 0x00
  15. 0000001E  2B40 F6EC                move.l     [A5 - 0x914], D0
  16. 00000022  422D FBBC                clr.b      [A5 - 0x444]
  17. 00000026  422D F6DC                clr.b      [A5 - 0x924]
  18. 0000002A  2F2D FC88                move.l     -[A7], [A5 - 0x378]
  19. 0000002E  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  20. 00000032  4E5E                     unlink     A6
  21. 00000034  4E75                     rts
  22. 00000036  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  23. export_2310: // at 00000038 (misaligned)
  24. 0000003A  FFFC                     .invalid   <<F/7/7>>
  25. 0000003C  2F0C                     move.l     -[A7], A4
  26. 0000003E  486D FE3A                pea.l      [A5 - 0x1C6]
  27. 00000042  A86E                     syscall    InitGraf
  28. 00000044  A8FE                     syscall    InitFonts
  29. 00000046  A912                     syscall    InitWindows
  30. 00000048  2F3C 0000 7F7F           move.l     -[A7], 0x7F7F
  31. 0000004E  201F                     move.l     D0, [A7]+
  32. 00000050  A032                     syscall    FlushEvents
  33. 00000052  A930                     syscall    InitMenus
  34. 00000054  A9CC                     syscall    TEInit
  35. 00000056  42A7                     clr.l      -[A7]
  36. 00000058  A97B                     syscall    InitDialogs
  37. 0000005A  42A7                     clr.l      -[A7]
  38. 0000005C  3F3C 0004                move.w     -[A7], 0x4
  39. 00000060  A9B9                     syscall    GetCursor
  40. 00000062  285F                     movea.l    A4, [A7]+
  41. 00000064  A850                     syscall    InitCursor
  42. 00000066  200C                     move.l     D0, A4
  43. 00000068  6704                     beq        +0x6 /* 0000006E */
  44. 0000006A  2F14                     move.l     -[A7], [A4]
  45. 0000006C  A851                     syscall    SetCursor
  46. label0000006E:
  47. 0000006E  486D FC4C                pea.l      [A5 - 0x3B4]
  48. 00000072  4EBA 0140                jsr        [PC + 0x140 /* 000001B4 */]
  49. 00000076  7000                     moveq.l    D0, 0x00
  50. 00000078  2B40 FC70                move.l     [A5 - 0x390], D0
  51. 0000007C  7000                     moveq.l    D0, 0x00
  52. 0000007E  2B40 FC40                move.l     [A5 - 0x3C0], D0
  53. 00000082  486D FC94                pea.l      [A5 - 0x36C]
  54. 00000086  42A7                     clr.l      -[A7]
  55. 00000088  4267                     clr.w      -[A7]
  56. 0000008A  4EAD 2222                jsr        [A5 + 0x2222 /* export_1088 */]
  57. 0000008E  486D FC8C                pea.l      [A5 - 0x374]
  58. 00000092  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  59. 00000098  3F3C FFFF                move.w     -[A7], 0xFFFF
  60. 0000009C  4EAD 2222                jsr        [A5 + 0x2222 /* export_1088 */]
  61. 000000A0  42A7                     clr.l      -[A7]
  62. 000000A2  70FF                     moveq.l    D0, 0xFFFFFFFF
  63. 000000A4  2F00                     move.l     -[A7], D0
  64. 000000A6  4EAD 0532                jsr        [A5 + 0x532 /* export_162 */]
  65. 000000AA  2B5F FC30                move.l     [A5 - 0x3D0], [A7]+
  66. 000000AE  42A7                     clr.l      -[A7]
  67. 000000B0  A8D8                     syscall    NewRgn
  68. 000000B2  2B5F FC88                move.l     [A5 - 0x378], [A7]+
  69. 000000B6  102D FC5F                move.b     D0, [A5 - 0x3A1]
  70. 000000BA  670C                     beq        +0xE /* 000000C8 */
  71. 000000BC  4267                     clr.w      -[A7]
  72. 000000BE  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  73. 000000C2  3B5F FC74                move.w     [A5 - 0x38C], [A7]+
  74. 000000C6  6018                     bra        +0x1A /* 000000E0 */
  75. label000000C8:
  76. 000000C8  102D FC5C                move.b     D0, [A5 - 0x3A4]
  77. 000000CC  670C                     beq        +0xE /* 000000DA */
  78. 000000CE  4267                     clr.w      -[A7]
  79. 000000D0  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  80. 000000D4  3B5F FC74                move.w     [A5 - 0x38C], [A7]+
  81. 000000D8  6006                     bra        +0x8 /* 000000E0 */
  82. label000000DA:
  83. 000000DA  3B7C 0014 FC74           move.w     [A5 - 0x38C], 0x14
  84. label000000E0:
  85. 000000E0  41ED FC7E                lea.l      A0, [A5 - 0x382]
  86. 000000E4  43FA 0036                lea.l      A1, [PC + 0x36 /* 0000011C, value 0x4545255, pstring "TRUE" */]
  87. 000000E8  20D9                     move.l     [A0]+, [A1]+
  88. 000000EA  3091                     move.w     [A0], [A1]
  89. 000000EC  41ED FC78                lea.l      A0, [A5 - 0x388]
  90. 000000F0  43FA 0024                lea.l      A1, [PC + 0x24 /* 00000116, value 0x546414C, pstring "FALSE" */]
  91. 000000F4  20D9                     move.l     [A0]+, [A1]+
  92. 000000F6  3091                     move.w     [A0], [A1]
  93. 000000F8  422D FC38                clr.b      [A5 - 0x3C8]
  94. 000000FC  1B6D FC38 FC3C           move.b     [A5 - 0x3C4], [A5 - 0x3C8]
  95. 00000102  4267                     clr.w      -[A7]
  96. 00000104  A994                     syscall    CurResFile
  97. 00000106  3B5F FC44                move.w     [A5 - 0x3BC], [A7]+
  98. 0000010A  1B7C 0001 FC24           move.b     [A5 - 0x3DC], 0x1
  99. 00000110  285F                     movea.l    A4, [A7]+
  100. 00000112  4E5E                     unlink     A6
  101. 00000114  4E75                     rts
  102. 00000116  0546                     bchg       D6, D2
  103. 00000118  414C                     chk.w      D0, A4
  104. 0000011A  5345                     subq.w     D5, 1
  105. 0000011C  0454 5255                subi.w     [A4], 0x5255 /* 'RU' */
  106. 00000120  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  107. 00000122  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  108. export_2311: // at 00000124 (misaligned)
  109. 00000126  FFDA                     .invalid   <<F/7/7>>
  110. 00000128  2F07                     move.l     -[A7], D7
  111. 0000012A  206E 0008                movea.l    A0, [A6 + 0x8]
  112. 0000012E  43EE FFDC                lea.l      A1, [A6 - 0x24]
  113. 00000132  7008                     moveq.l    D0, 0x08
  114. label00000134:
  115. 00000134  22D8                     move.l     [A1]+, [A0]+
  116. 00000136  51C8 FFFC                dbf        D0, -0x6 /* 00000134 */
  117. 0000013A  7E01                     moveq.l    D7, 0x01
  118. 0000013C  1007                     move.b     D0, D7
  119. 0000013E  6704                     beq        +0x6 /* 00000144 */
  120. 00000140  C02E FFEF                and.b      D0, [A6 - 0x11]
  121. label00000144:
  122. 00000144  1E00                     move.b     D7, D0
  123. 00000146  6704                     beq        +0x6 /* 0000014C */
  124. 00000148  C02E FFEC                and.b      D0, [A6 - 0x14]
  125. label0000014C:
  126. 0000014C  1E00                     move.b     D7, D0
  127. 0000014E  6704                     beq        +0x6 /* 00000154 */
  128. 00000150  C02E FFEE                and.b      D0, [A6 - 0x12]
  129. label00000154:
  130. 00000154  1E00                     move.b     D7, D0
  131. 00000156  6704                     beq        +0x6 /* 0000015C */
  132. 00000158  C02E FFF0                and.b      D0, [A6 - 0x10]
  133. label0000015C:
  134. 0000015C  1E00                     move.b     D7, D0
  135. 0000015E  6704                     beq        +0x6 /* 00000164 */
  136. 00000160  C02E FFF2                and.b      D0, [A6 - 0xE]
  137. label00000164:
  138. 00000164  1E00                     move.b     D7, D0
  139. 00000166  102E FFF5                move.b     D0, [A6 - 0xB]
  140. 0000016A  6704                     beq        +0x6 /* 00000170 */
  141. 0000016C  4EAD 0262                jsr        [A5 + 0x262 /* export_72 */]
  142. label00000170:
  143. 00000170  1D47 000C                move.b     [A6 + 0xC], D7
  144. 00000174  2E1F                     move.l     D7, [A7]+
  145. 00000176  4E5E                     unlink     A6
  146. 00000178  2E9F                     move.l     [A7], [A7]+
  147. 0000017A  4E75                     rts
  148. fn0000017C:
  149. 0000017C  4E56 FFFA                link       A6, -0x0006
  150. 00000180  4267                     clr.w      -[A7]
  151. 00000182  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  152. 00000186  486E FFFA                pea.l      [A6 - 0x6]
  153. 0000018A  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  154. 0000018E  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  155. 00000192  57C0                     seq        D0
  156. 00000194  4A00                     tst.b      D0
  157. 00000196  670E                     beq        +0x10 /* 000001A6 */
  158. 00000198  222E FFFA                move.l     D1, [A6 - 0x6]
  159. 0000019C  342E 0008                move.w     D2, [A6 + 0x8]
  160. 000001A0  0501                     btst       D1, D2
  161. 000001A2  56C1                     sne        D1
  162. 000001A4  C001                     and.b      D0, D1
  163. label000001A6:
  164. 000001A6  4400                     neg.b      D0
  165. 000001A8  1D40 000E                move.b     [A6 + 0xE], D0
  166. 000001AC  4E5E                     unlink     A6
  167. 000001AE  205F                     movea.l    A0, [A7]+
  168. 000001B0  5C4F                     addq.w     A7, 6
  169. 000001B2  4ED0                     jmp        [A0]
  170. fn000001B4:
  171. 000001B4  4E56 FFF4                link       A6, -0x000C
  172. 000001B8  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  173. 000001BC  266E 0008                movea.l    A3, [A6 + 0x8]
  174. 000001C0  2F3C 0001 0000           move.l     -[A7], 0x10000
  175. 000001C6  2F0B                     move.l     -[A7], A3
  176. 000001C8  4EAD 04FA                jsr        [A5 + 0x4FA /* export_155 */]
  177. 000001CC  3C1F                     move.w     D6, [A7]+
  178. 000001CE  2F3C A1AD 0000           move.l     -[A7], 0xA1AD0000
  179. 000001D4  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  180. 000001D8  101F                     move.b     D0, [A7]+
  181. 000001DA  6700 01DC                beq        +0x1DE /* 000003B8 */
  182. 000001DE  286E 0008                movea.l    A4, [A6 + 0x8]
  183. 000001E2  4267                     clr.w      -[A7]
  184. 000001E4  2F3C 7665 7273           move.l     -[A7], 0x76657273 /* 'vers' */
  185. 000001EA  486E FFF4                pea.l      [A6 - 0xC]
  186. 000001EE  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  187. 000001F2  3E1F                     move.w     D7, [A7]+
  188. 000001F4  38AE FFF6                move.w     [A4], [A6 - 0xA]
  189. 000001F8  4267                     clr.w      -[A7]
  190. 000001FA  2F3C 6D61 6368           move.l     -[A7], 0x6D616368 /* 'mach' */
  191. 00000200  486E FFF4                pea.l      [A6 - 0xC]
  192. 00000204  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  193. 00000208  3E1F                     move.w     D7, [A7]+
  194. 0000020A  7003                     moveq.l    D0, 0x03
  195. 0000020C  B0AE FFF4                cmp.l      D0, [A6 - 0xC]
  196. 00000210  5FC0                     sle        D0
  197. 00000212  4400                     neg.b      D0
  198. 00000214  1940 0010                move.b     [A4 + 0x10], D0
  199. 00000218  6708                     beq        +0xA /* 00000222 */
  200. 0000021A  197C 0001 0011           move.b     [A4 + 0x11], 0x1
  201. 00000220  6010                     bra        +0x12 /* 00000232 */
  202. label00000222:
  203. 00000222  4267                     clr.w      -[A7]
  204. 00000224  3EB8 03F6                move.w     [A7], [0x000003F6 /* FSFCBLen */]
  205. 00000228  4A5F                     tst.w      [A7]+
  206. 0000022A  5EC0                     sgt        D0
  207. 0000022C  4400                     neg.b      D0
  208. 0000022E  1940 0011                move.b     [A4 + 0x11], D0
  209. label00000232:
  210. 00000232  4267                     clr.w      -[A7]
  211. 00000234  2F3C 7164 2020           move.l     -[A7], 0x71642020 /* 'qd  ' */
  212. 0000023A  486E FFF4                pea.l      [A6 - 0xC]
  213. 0000023E  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  214. 00000242  3E1F                     move.w     D7, [A7]+
  215. 00000244  102C 0009                move.b     D0, [A4 + 0x9]
  216. 00000248  670C                     beq        +0xE /* 00000256 */
  217. 0000024A  0CAE 0000 0100 FFF4      cmpi.l     [A6 - 0xC], 0x100
  218. 00000252  56C1                     sne        D1
  219. 00000254  C001                     and.b      D0, D1
  220. label00000256:
  221. 00000256  1940 001B                move.b     [A4 + 0x1B], D0
  222. 0000025A  4267                     clr.w      -[A7]
  223. 0000025C  2F3C 6864 7772           move.l     -[A7], 0x68647772 /* 'hdwr' */
  224. 00000262  3F3C 0007                move.w     -[A7], 0x7
  225. 00000266  4EBA FF14                jsr        [PC - 0xEC /* 0000017C */]
  226. 0000026A  195F 0017                move.b     [A4 + 0x17], [A7]+
  227. 0000026E  4267                     clr.w      -[A7]
  228. 00000270  2F3C 612F 7578           move.l     -[A7], 0x612F7578 /* 'a/ux' */
  229. 00000276  486E FFF4                pea.l      [A6 - 0xC]
  230. 0000027A  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  231. 0000027E  3E1F                     move.w     D7, [A7]+
  232. 00000280  4AAE FFF4                tst.l      [A6 - 0xC]
  233. 00000284  56C0                     sne        D0
  234. 00000286  4400                     neg.b      D0
  235. 00000288  1940 0019                move.b     [A4 + 0x19], D0
  236. 0000028C  4267                     clr.w      -[A7]
  237. 0000028E  2F3C 7363 7269           move.l     -[A7], 0x73637269 /* 'scri' */
  238. 00000294  486E FFF4                pea.l      [A6 - 0xC]
  239. 00000298  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  240. 0000029C  3E1F                     move.w     D7, [A7]+
  241. 0000029E  102C 0010                move.b     D0, [A4 + 0x10]
  242. 000002A2  6708                     beq        +0xA /* 000002AC */
  243. 000002A4  4AAE FFF4                tst.l      [A6 - 0xC]
  244. 000002A8  56C1                     sne        D1
  245. 000002AA  C001                     and.b      D0, D1
  246. label000002AC:
  247. 000002AC  1940 0013                move.b     [A4 + 0x13], D0
  248. 000002B0  4267                     clr.w      -[A7]
  249. 000002B2  2F3C 6F73 2020           move.l     -[A7], 0x6F732020 /* 'os  ' */
  250. 000002B8  3F3C 0004                move.w     -[A7], 0x4
  251. 000002BC  4EBA FEBE                jsr        [PC - 0x142 /* 0000017C */]
  252. 000002C0  195F 001A                move.b     [A4 + 0x1A], [A7]+
  253. 000002C4  7000                     moveq.l    D0, 0x00
  254. 000002C6  2F00                     move.l     -[A7], D0
  255. 000002C8  4267                     clr.w      -[A7]
  256. 000002CA  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  257. 000002CE  321F                     move.w     D1, [A7]+
  258. 000002D0  201F                     move.l     D0, [A7]+
  259. 000002D2  3001                     move.w     D0, D1
  260. 000002D4  C0BC 0000 0400           and.l      D0, 0x400
  261. 000002DA  4A80                     tst.l      D0
  262. 000002DC  5EC0                     sgt        D0
  263. 000002DE  4400                     neg.b      D0
  264. 000002E0  1940 0018                move.b     [A4 + 0x18], D0
  265. 000002E4  102C 0010                move.b     D0, [A4 + 0x10]
  266. 000002E8  6712                     beq        +0x14 /* 000002FC */
  267. 000002EA  2F00                     move.l     -[A7], D0
  268. 000002EC  2F3C A80B 0000           move.l     -[A7], 0xA80B0000
  269. 000002F2  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  270. 000002F6  121F                     move.b     D1, [A7]+
  271. 000002F8  201F                     move.l     D0, [A7]+
  272. 000002FA  C001                     and.b      D0, D1
  273. label000002FC:
  274. 000002FC  1940 0012                move.b     [A4 + 0x12], D0
  275. 00000300  0C6C 0600 0004           cmpi.w     [A4 + 0x4], 0x600
  276. 00000306  5CC0                     sge        D0
  277. 00000308  4400                     neg.b      D0
  278. 0000030A  1940 0014                move.b     [A4 + 0x14], D0
  279. 0000030E  102C 0010                move.b     D0, [A4 + 0x10]
  280. 00000312  6712                     beq        +0x14 /* 00000326 */
  281. 00000314  2F00                     move.l     -[A7], D0
  282. 00000316  2F3C A803 0000           move.l     -[A7], 0xA8030000
  283. 0000031C  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  284. 00000320  121F                     move.b     D1, [A7]+
  285. 00000322  201F                     move.l     D0, [A7]+
  286. 00000324  C001                     and.b      D0, D1
  287. label00000326:
  288. 00000326  1940 0015                move.b     [A4 + 0x15], D0
  289. 0000032A  102C 0010                move.b     D0, [A4 + 0x10]
  290. 0000032E  6712                     beq        +0x14 /* 00000342 */
  291. 00000330  2F00                     move.l     -[A7], D0
  292. 00000332  2F3C A860 0000           move.l     -[A7], 0xA8600000
  293. 00000338  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  294. 0000033C  121F                     move.b     D1, [A7]+
  295. 0000033E  201F                     move.l     D0, [A7]+
  296. 00000340  C001                     and.b      D0, D1
  297. label00000342:
  298. 00000342  1940 0016                move.b     [A4 + 0x16], D0
  299. 00000346  197C 0001 001C           move.b     [A4 + 0x1C], 0x1
  300. 0000034C  4267                     clr.w      -[A7]
  301. 0000034E  2F3C 6576 6E74           move.l     -[A7], 0x65766E74 /* 'evnt' */
  302. 00000354  4267                     clr.w      -[A7]
  303. 00000356  4EBA FE24                jsr        [PC - 0x1DC /* 0000017C */]
  304. 0000035A  195F 001D                move.b     [A4 + 0x1D], [A7]+
  305. 0000035E  4267                     clr.w      -[A7]
  306. 00000360  2F3C 6564 746E           move.l     -[A7], 0x6564746E /* 'edtn' */
  307. 00000366  4267                     clr.w      -[A7]
  308. 00000368  4EBA FE12                jsr        [PC - 0x1EE /* 0000017C */]
  309. 0000036C  195F 001E                move.b     [A4 + 0x1E], [A7]+
  310. 00000370  4267                     clr.w      -[A7]
  311. 00000372  2F3C 6865 6C70           move.l     -[A7], 0x68656C70 /* 'help' */
  312. 00000378  4267                     clr.w      -[A7]
  313. 0000037A  4EBA FE00                jsr        [PC - 0x200 /* 0000017C */]
  314. 0000037E  195F 001F                move.b     [A4 + 0x1F], [A7]+
  315. 00000382  4267                     clr.w      -[A7]
  316. 00000384  2F3C 616C 6973           move.l     -[A7], 0x616C6973 /* 'alis' */
  317. 0000038A  4267                     clr.w      -[A7]
  318. 0000038C  4EBA FDEE                jsr        [PC - 0x212 /* 0000017C */]
  319. 00000390  195F 0020                move.b     [A4 + 0x20], [A7]+
  320. 00000394  4267                     clr.w      -[A7]
  321. 00000396  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  322. 0000039C  4267                     clr.w      -[A7]
  323. 0000039E  4EBA FDDC                jsr        [PC - 0x224 /* 0000017C */]
  324. 000003A2  195F 0021                move.b     [A4 + 0x21], [A7]+
  325. 000003A6  0C6C 0700 0004           cmpi.w     [A4 + 0x4], 0x700
  326. 000003AC  5CC0                     sge        D0
  327. 000003AE  4400                     neg.b      D0
  328. 000003B0  1940 0022                move.b     [A4 + 0x22], D0
  329. 000003B4  6000 0134                bra        +0x136 /* 000004EA */
  330. label000003B8:
  331. 000003B8  286E 0008                movea.l    A4, [A6 + 0x8]
  332. 000003BC  7000                     moveq.l    D0, 0x00
  333. 000003BE  2F00                     move.l     -[A7], D0
  334. 000003C0  4267                     clr.w      -[A7]
  335. 000003C2  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  336. 000003C6  321F                     move.w     D1, [A7]+
  337. 000003C8  201F                     move.l     D0, [A7]+
  338. 000003CA  3001                     move.w     D0, D1
  339. 000003CC  C0BC 0000 0400           and.l      D0, 0x400
  340. 000003D2  4A80                     tst.l      D0
  341. 000003D4  5EC0                     sgt        D0
  342. 000003D6  4400                     neg.b      D0
  343. 000003D8  1940 0018                move.b     [A4 + 0x18], D0
  344. 000003DC  7000                     moveq.l    D0, 0x00
  345. 000003DE  2F00                     move.l     -[A7], D0
  346. 000003E0  4267                     clr.w      -[A7]
  347. 000003E2  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  348. 000003E6  321F                     move.w     D1, [A7]+
  349. 000003E8  201F                     move.l     D0, [A7]+
  350. 000003EA  3001                     move.w     D0, D1
  351. 000003EC  C0BC FFFF 8000           and.l      D0, 0xFFFF8000
  352. 000003F2  4A80                     tst.l      D0
  353. 000003F4  5EC0                     sgt        D0
  354. 000003F6  4400                     neg.b      D0
  355. 000003F8  1940 0017                move.b     [A4 + 0x17], D0
  356. 000003FC  7000                     moveq.l    D0, 0x00
  357. 000003FE  2F00                     move.l     -[A7], D0
  358. 00000400  4267                     clr.w      -[A7]
  359. 00000402  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  360. 00000406  321F                     move.w     D1, [A7]+
  361. 00000408  201F                     move.l     D0, [A7]+
  362. 0000040A  3001                     move.w     D0, D1
  363. 0000040C  C0BC 0000 0200           and.l      D0, 0x200
  364. 00000412  4A80                     tst.l      D0
  365. 00000414  5EC0                     sgt        D0
  366. 00000416  4400                     neg.b      D0
  367. 00000418  1940 0019                move.b     [A4 + 0x19], D0
  368. 0000041C  70FF                     moveq.l    D0, 0xFFFFFFFF
  369. 0000041E  B06C 0002                cmp.w      D0, [A4 + 0x2]
  370. 00000422  5DC0                     slt        D0
  371. 00000424  4400                     neg.b      D0
  372. 00000426  1940 0010                move.b     [A4 + 0x10], D0
  373. 0000042A  6708                     beq        +0xA /* 00000434 */
  374. 0000042C  197C 0001 0011           move.b     [A4 + 0x11], 0x1
  375. 00000432  6010                     bra        +0x12 /* 00000444 */
  376. label00000434:
  377. 00000434  4267                     clr.w      -[A7]
  378. 00000436  3EB8 03F6                move.w     [A7], [0x000003F6 /* FSFCBLen */]
  379. 0000043A  4A5F                     tst.w      [A7]+
  380. 0000043C  5EC0                     sgt        D0
  381. 0000043E  4400                     neg.b      D0
  382. 00000440  1940 0011                move.b     [A4 + 0x11], D0
  383. label00000444:
  384. 00000444  102C 0010                move.b     D0, [A4 + 0x10]
  385. 00000448  6712                     beq        +0x14 /* 0000045C */
  386. 0000044A  2F00                     move.l     -[A7], D0
  387. 0000044C  2F3C A80B 0000           move.l     -[A7], 0xA80B0000
  388. 00000452  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  389. 00000456  121F                     move.b     D1, [A7]+
  390. 00000458  201F                     move.l     D0, [A7]+
  391. 0000045A  C001                     and.b      D0, D1
  392. label0000045C:
  393. 0000045C  1940 0012                move.b     [A4 + 0x12], D0
  394. 00000460  102C 0010                move.b     D0, [A4 + 0x10]
  395. 00000464  6712                     beq        +0x14 /* 00000478 */
  396. 00000466  2F00                     move.l     -[A7], D0
  397. 00000468  2F3C A8B5 0000           move.l     -[A7], 0xA8B50000
  398. 0000046E  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  399. 00000472  121F                     move.b     D1, [A7]+
  400. 00000474  201F                     move.l     D0, [A7]+
  401. 00000476  C001                     and.b      D0, D1
  402. label00000478:
  403. 00000478  1940 0013                move.b     [A4 + 0x13], D0
  404. 0000047C  0C6C 0600 0004           cmpi.w     [A4 + 0x4], 0x600
  405. 00000482  5CC0                     sge        D0
  406. 00000484  4400                     neg.b      D0
  407. 00000486  1940 0014                move.b     [A4 + 0x14], D0
  408. 0000048A  102C 0010                move.b     D0, [A4 + 0x10]
  409. 0000048E  6712                     beq        +0x14 /* 000004A2 */
  410. 00000490  2F00                     move.l     -[A7], D0
  411. 00000492  2F3C A803 0000           move.l     -[A7], 0xA8030000
  412. 00000498  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  413. 0000049C  121F                     move.b     D1, [A7]+
  414. 0000049E  201F                     move.l     D0, [A7]+
  415. 000004A0  C001                     and.b      D0, D1
  416. label000004A2:
  417. 000004A2  1940 0015                move.b     [A4 + 0x15], D0
  418. 000004A6  102C 0010                move.b     D0, [A4 + 0x10]
  419. 000004AA  6712                     beq        +0x14 /* 000004BE */
  420. 000004AC  2F00                     move.l     -[A7], D0
  421. 000004AE  2F3C A860 0000           move.l     -[A7], 0xA8600000
  422. 000004B4  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  423. 000004B8  121F                     move.b     D1, [A7]+
  424. 000004BA  201F                     move.l     D0, [A7]+
  425. 000004BC  C001                     and.b      D0, D1
  426. label000004BE:
  427. 000004BE  1940 0016                move.b     [A4 + 0x16], D0
  428. 000004C2  2F3C A88F 0000           move.l     -[A7], 0xA88F0000
  429. 000004C8  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  430. 000004CC  195F 001A                move.b     [A4 + 0x1A], [A7]+
  431. 000004D0  2F3C AB03 0000           move.l     -[A7], 0xAB030000
  432. 000004D6  4EAD 2232                jsr        [A5 + 0x2232 /* export_1090 */]
  433. 000004DA  195F 001B                move.b     [A4 + 0x1B], [A7]+
  434. 000004DE  42AC 001C                clr.l      [A4 + 0x1C]
  435. 000004E2  426C 0020                clr.w      [A4 + 0x20]
  436. 000004E6  422C 0022                clr.b      [A4 + 0x22]
  437. label000004EA:
  438. 000004EA  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  439. 000004EE  4E5E                     unlink     A6
  440. 000004F0  2E9F                     move.l     [A7], [A7]+
  441. 000004F2  4E75                     rts
  442. fn000004F4:
  443. 000004F4  4E56 FEF0                link       A6, -0x0110
  444. 000004F8  48E7 0308                movem.l    -[A7], D6,D7,A4
  445. 000004FC  4267                     clr.w      -[A7]
  446. 000004FE  1EB8 0A5E                move.b     [A7], [0x00000A5E /* ResLoad */]
  447. 00000502  1C1F                     move.b     D6, [A7]+
  448. 00000504  4267                     clr.w      -[A7]
  449. 00000506  A99B                     syscall    SetResLoad
  450. 00000508  4267                     clr.w      -[A7]
  451. 0000050A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  452. 0000050E  A99C                     syscall    CountResources
  453. 00000510  3D5F FEF0                move.w     [A6 - 0x110], [A7]+
  454. 00000514  7E01                     moveq.l    D7, 0x01
  455. 00000516  6050                     bra        +0x52 /* 00000568 */
  456. label00000518:
  457. 00000518  42A7                     clr.l      -[A7]
  458. 0000051A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  459. 0000051E  3F07                     move.w     -[A7], D7
  460. 00000520  A99D                     syscall    GetIndResource
  461. 00000522  285F                     movea.l    A4, [A7]+
  462. 00000524  2F0C                     move.l     -[A7], A4
  463. 00000526  486E FFF6                pea.l      [A6 - 0xA]
  464. 0000052A  486E FFF2                pea.l      [A6 - 0xE]
  465. 0000052E  486E FEF2                pea.l      [A6 - 0x10E]
  466. 00000532  A9A8                     syscall    GetResInfo
  467. 00000534  4267                     clr.w      -[A7]
  468. 00000536  4EAD 2242                jsr        [A5 + 0x2242 /* export_1092 */]
  469. 0000053A  42A7                     clr.l      -[A7]
  470. 0000053C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  471. 00000540  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  472. 00000544  A9A0                     syscall    GetResource
  473. 00000546  285F                     movea.l    A4, [A7]+
  474. 00000548  4267                     clr.w      -[A7]
  475. 0000054A  4EAD 2242                jsr        [A5 + 0x2242 /* export_1092 */]
  476. 0000054E  4267                     clr.w      -[A7]
  477. 00000550  2F0C                     move.l     -[A7], A4
  478. 00000552  A9A4                     syscall    HomeResFile
  479. 00000554  7001                     moveq.l    D0, 0x01
  480. 00000556  B05F                     cmp.w      D0, [A7]+
  481. 00000558  670A                     beq        +0xC /* 00000564 */
  482. 0000055A  2F0C                     move.l     -[A7], A4
  483. 0000055C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  484. 00000560  4EBA 001E                jsr        [PC + 0x1E /* 00000580 */]
  485. label00000564:
  486. 00000564  5247                     addq.w     D7, 1
  487. 00000566  6906                     bvs        +0x8 /* 0000056E */
  488. label00000568:
  489. 00000568  BE6E FEF0                cmp.w      D7, [A6 - 0x110]
  490. 0000056C  6FAA                     ble        -0x54 /* 00000518 */
  491. label0000056E:
  492. 0000056E  1F06                     move.b     -[A7], D6
  493. 00000570  A99B                     syscall    SetResLoad
  494. 00000572  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  495. 00000576  4E5E                     unlink     A6
  496. 00000578  205F                     movea.l    A0, [A7]+
  497. 0000057A  504F                     addq.w     A7, 8
  498. 0000057C  4ED0                     jmp        [A0]
  499. 0000057E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  500. // begin alternate branch 00000580-00000584
  501. fn00000580:
  502. 00000580  4E56 FFFC                link       A6, -0x0004
  503. // end alternate branch 00000580-00000584
  504. fn00000580: // (misaligned)
  505. 00000582  FFFC                     .invalid   <<F/7/7>>
  506. 00000584  42A7                     clr.l      -[A7]
  507. 00000586  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  508. 0000058A  42A7                     clr.l      -[A7]
  509. 0000058C  42A7                     clr.l      -[A7]
  510. 0000058E  42A7                     clr.l      -[A7]
  511. 00000590  486E 000C                pea.l      [A6 + 0xC]
  512. 00000594  7004                     moveq.l    D0, 0x04
  513. 00000596  2F00                     move.l     -[A7], D0
  514. 00000598  A9E0                     syscall    Munger
  515. 0000059A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  516. 0000059E  4EAD 205A                jsr        [A5 + 0x205A /* export_1031 */]
  517. 000005A2  4E5E                     unlink     A6
  518. 000005A4  205F                     movea.l    A0, [A7]+
  519. 000005A6  504F                     addq.w     A7, 8
  520. 000005A8  4ED0                     jmp        [A0]
  521. 000005AA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  522. // begin alternate branch 000005AC-000005B4
  523. fn000005AC:
  524. 000005AC  4E56 FEF0                link       A6, -0x0110
  525. 000005B0  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  526. // end alternate branch 000005AC-000005B4
  527. fn000005AC: // (misaligned)
  528. 000005AE  FEF0 48E7                .extension 0xEF0 <<F/2-3/7>> // unimplemented
  529. 000005B2  0F18                     btst       [A0]+, D7
  530. 000005B4  282E 0008                move.l     D4, [A6 + 0x8]
  531. 000005B8  2F04                     move.l     -[A7], D4
  532. 000005BA  4EAD 025A                jsr        [A5 + 0x25A /* export_71 */]
  533. 000005BE  4267                     clr.w      -[A7]
  534. 000005C0  1EB8 0A5E                move.b     [A7], [0x00000A5E /* ResLoad */]
  535. 000005C4  1A1F                     move.b     D5, [A7]+
  536. 000005C6  4267                     clr.w      -[A7]
  537. 000005C8  A99B                     syscall    SetResLoad
  538. 000005CA  2044                     movea.l    A0, D4
  539. 000005CC  2850                     movea.l    A4, [A0]
  540. 000005CE  3C14                     move.w     D6, [A4]
  541. 000005D0  548C                     addq.l     A4, 2
  542. 000005D2  7E00                     moveq.l    D7, 0x00
  543. label000005D4:
  544. 000005D4  4A46                     tst.w      D6
  545. 000005D6  6F48                     ble        +0x4A /* 00000620 */
  546. 000005D8  2F0C                     move.l     -[A7], A4
  547. 000005DA  486E FEF0                pea.l      [A6 - 0x110]
  548. 000005DE  1014                     move.b     D0, [A4]
  549. 000005E0  4880                     ext.w      D0
  550. 000005E2  5240                     addq.w     D0, 1
  551. 000005E4  48C0                     ext.l      D0
  552. 000005E6  2F00                     move.l     -[A7], D0
  553. 000005E8  4EAD 02E2                jsr        [A5 + 0x2E2 /* export_88 */]
  554. 000005EC  1014                     move.b     D0, [A4]
  555. 000005EE  4880                     ext.w      D0
  556. 000005F0  48C0                     ext.l      D0
  557. 000005F2  D08C                     add.l      D0, A4
  558. 000005F4  2840                     movea.l    A4, D0
  559. 000005F6  528C                     addq.l     A4, 1
  560. 000005F8  5346                     subq.w     D6, 1
  561. 000005FA  42A7                     clr.l      -[A7]
  562. 000005FC  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  563. 00000602  486E FEF0                pea.l      [A6 - 0x110]
  564. 00000606  4EAD 22DA                jsr        [A5 + 0x22DA /* export_1111 */]
  565. 0000060A  265F                     movea.l    A3, [A7]+
  566. 0000060C  200B                     move.l     D0, A3
  567. 0000060E  67C4                     beq        -0x3A /* 000005D4 */
  568. 00000610  42A7                     clr.l      -[A7]
  569. 00000612  2F0B                     move.l     -[A7], A3
  570. 00000614  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  571. 00000616  201F                     move.l     D0, [A7]+
  572. 00000618  D087                     add.l      D0, D7
  573. 0000061A  2E00                     move.l     D7, D0
  574. 0000061C  5087                     addq.l     D7, 8
  575. 0000061E  60B4                     bra        -0x4A /* 000005D4 */
  576. label00000620:
  577. 00000620  2D47 000C                move.l     [A6 + 0xC], D7
  578. 00000624  1F05                     move.b     -[A7], D5
  579. 00000626  A99B                     syscall    SetResLoad
  580. 00000628  2F04                     move.l     -[A7], D4
  581. 0000062A  205F                     movea.l    A0, [A7]+
  582. 0000062C  A02A                     syscall    HUnlock
  583. 0000062E  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  584. 00000632  4E5E                     unlink     A6
  585. 00000634  2E9F                     move.l     [A7], [A7]+
  586. 00000636  4E75                     rts
  587. export_2312:
  588. 00000638  4E56 FEDA                link       A6, -0x0126
  589. 0000063C  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  590. 00000640  422D FCA0                clr.b      [A5 - 0x360]
  591. 00000644  42A7                     clr.l      -[A7]
  592. 00000646  42A7                     clr.l      -[A7]
  593. 00000648  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  594. 0000064C  2B57 FCE8                move.l     [A5 - 0x318], [A7]
  595. 00000650  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  596. 00000654  7000                     moveq.l    D0, 0x00
  597. 00000656  2B40 FCC0                move.l     [A5 - 0x340], D0
  598. 0000065A  42A7                     clr.l      -[A7]
  599. 0000065C  42A7                     clr.l      -[A7]
  600. 0000065E  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  601. 00000662  2B57 FCD4                move.l     [A5 - 0x32C], [A7]
  602. 00000666  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  603. 0000066A  7000                     moveq.l    D0, 0x00
  604. 0000066C  2B40 FCA8                move.l     [A5 - 0x358], D0
  605. 00000670  7000                     moveq.l    D0, 0x00
  606. 00000672  2B40 FCBC                move.l     [A5 - 0x344], D0
  607. 00000676  1B7C 0001 FCB0           move.b     [A5 - 0x350], 0x1
  608. 0000067C  422D FCAC                clr.b      [A5 - 0x354]
  609. 00000680  1B7C 0001 FCB4           move.b     [A5 - 0x34C], 0x1
  610. 00000686  4267                     clr.w      -[A7]
  611. 00000688  42A7                     clr.l      -[A7]
  612. 0000068A  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  613. 00000690  3F3C 0001                move.w     -[A7], 0x1
  614. 00000694  A9A0                     syscall    GetResource
  615. 00000696  A9A4                     syscall    HomeResFile
  616. 00000698  3B5F FCF0                move.w     [A5 - 0x310], [A7]+
  617. 0000069C  426D FCF4                clr.w      [A5 - 0x30C]
  618. 000006A0  4267                     clr.w      -[A7]
  619. 000006A2  1EB8 0A5E                move.b     [A7], [0x00000A5E /* ResLoad */]
  620. 000006A6  1A1F                     move.b     D5, [A7]+
  621. 000006A8  4267                     clr.w      -[A7]
  622. 000006AA  A99B                     syscall    SetResLoad
  623. 000006AC  4267                     clr.w      -[A7]
  624. 000006AE  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  625. 000006B4  4EAD 22EA                jsr        [A5 + 0x22EA /* export_1113 */]
  626. 000006B8  3D5F FEE8                move.w     [A6 - 0x118], [A7]+
  627. 000006BC  3D6E FEE8 FEE2           move.w     [A6 - 0x11E], [A6 - 0x118]
  628. 000006C2  7E01                     moveq.l    D7, 0x01
  629. 000006C4  604A                     bra        +0x4C /* 00000710 */
  630. label000006C6:
  631. 000006C6  42A7                     clr.l      -[A7]
  632. 000006C8  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  633. 000006CE  3F07                     move.w     -[A7], D7
  634. 000006D0  4EAD 22E2                jsr        [A5 + 0x22E2 /* export_1112 */]
  635. 000006D4  265F                     movea.l    A3, [A7]+
  636. 000006D6  200B                     move.l     D0, A3
  637. 000006D8  6732                     beq        +0x34 /* 0000070C */
  638. 000006DA  2F0B                     move.l     -[A7], A3
  639. 000006DC  486E FFEE                pea.l      [A6 - 0x12]
  640. 000006E0  486E FFEA                pea.l      [A6 - 0x16]
  641. 000006E4  486E FEEA                pea.l      [A6 - 0x116]
  642. 000006E8  A9A8                     syscall    GetResInfo
  643. 000006EA  42A7                     clr.l      -[A7]
  644. 000006EC  302E FFEE                move.w     D0, [A6 - 0x12]
  645. 000006F0  48C0                     ext.l      D0
  646. 000006F2  2F00                     move.l     -[A7], D0
  647. 000006F4  302D FCF4                move.w     D0, [A5 - 0x30C]
  648. 000006F8  48C0                     ext.l      D0
  649. 000006FA  2F00                     move.l     -[A7], D0
  650. 000006FC  201F                     move.l     D0, [A7]+
  651. 000006FE  2E9F                     move.l     [A7], [A7]+
  652. 00000700  B097                     cmp.l      D0, [A7]
  653. 00000702  6F02                     ble        +0x4 /* 00000706 */
  654. 00000704  2E80                     move.l     [A7], D0
  655. label00000706:
  656. 00000706  201F                     move.l     D0, [A7]+
  657. 00000708  3B40 FCF4                move.w     [A5 - 0x30C], D0
  658. label0000070C:
  659. 0000070C  5247                     addq.w     D7, 1
  660. 0000070E  6906                     bvs        +0x8 /* 00000716 */
  661. label00000710:
  662. 00000710  BE6E FEE2                cmp.w      D7, [A6 - 0x11E]
  663. 00000714  6FB0                     ble        -0x4E /* 000006C6 */
  664. label00000716:
  665. 00000716  1F05                     move.b     -[A7], D5
  666. 00000718  A99B                     syscall    SetResLoad
  667. 0000071A  42A7                     clr.l      -[A7]
  668. 0000071C  302D FCF4                move.w     D0, [A5 - 0x30C]
  669. 00000720  E540                     asl        D0.w, 2
  670. 00000722  48C0                     ext.l      D0
  671. 00000724  2F00                     move.l     -[A7], D0
  672. 00000726  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  673. 0000072A  2B57 FCF8                move.l     [A5 - 0x308], [A7]
  674. 0000072E  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  675. 00000732  42A7                     clr.l      -[A7]
  676. 00000734  302D FCF4                move.w     D0, [A5 - 0x30C]
  677. 00000738  48C0                     ext.l      D0
  678. 0000073A  2F00                     move.l     -[A7], D0
  679. 0000073C  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  680. 00000740  2B57 FCB8                move.l     [A5 - 0x348], [A7]
  681. 00000744  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  682. 00000748  42A7                     clr.l      -[A7]
  683. 0000074A  302D FCF4                move.w     D0, [A5 - 0x30C]
  684. 0000074E  48C0                     ext.l      D0
  685. 00000750  2F00                     move.l     -[A7], D0
  686. 00000752  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  687. 00000756  2B57 FCD8                move.l     [A5 - 0x328], [A7]
  688. 0000075A  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  689. 0000075E  42A7                     clr.l      -[A7]
  690. 00000760  302D FCF4                move.w     D0, [A5 - 0x30C]
  691. 00000764  E540                     asl        D0.w, 2
  692. 00000766  48C0                     ext.l      D0
  693. 00000768  2F00                     move.l     -[A7], D0
  694. 0000076A  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  695. 0000076E  2B57 FCFC                move.l     [A5 - 0x304], [A7]
  696. 00000772  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  697. 00000776  4267                     clr.w      -[A7]
  698. 00000778  1EB8 0A5E                move.b     [A7], [0x00000A5E /* ResLoad */]
  699. 0000077C  1A1F                     move.b     D5, [A7]+
  700. 0000077E  4267                     clr.w      -[A7]
  701. 00000780  A99B                     syscall    SetResLoad
  702. 00000782  3D6D FCF4 FEE0           move.w     [A6 - 0x120], [A5 - 0x30C]
  703. 00000788  7E01                     moveq.l    D7, 0x01
  704. 0000078A  600E                     bra        +0x10 /* 0000079A */
  705. label0000078C:
  706. 0000078C  206D FCB8                movea.l    A0, [A5 - 0x348]
  707. 00000790  2050                     movea.l    A0, [A0]
  708. 00000792  4230 70FF                clr.b      [A0 + D7.w - 0x1]
  709. 00000796  5247                     addq.w     D7, 1
  710. 00000798  6906                     bvs        +0x8 /* 000007A0 */
  711. label0000079A:
  712. 0000079A  BE6E FEE0                cmp.w      D7, [A6 - 0x120]
  713. 0000079E  6FEC                     ble        -0x12 /* 0000078C */
  714. label000007A0:
  715. 000007A0  3D6D FCF4 FEDE           move.w     [A6 - 0x122], [A5 - 0x30C]
  716. 000007A6  7E01                     moveq.l    D7, 0x01
  717. 000007A8  6072                     bra        +0x74 /* 0000081C */
  718. label000007AA:
  719. 000007AA  42A7                     clr.l      -[A7]
  720. 000007AC  3F07                     move.w     -[A7], D7
  721. 000007AE  4EAD 22F2                jsr        [A5 + 0x22F2 /* export_1114 */]
  722. 000007B2  265F                     movea.l    A3, [A7]+
  723. 000007B4  206D FCF8                movea.l    A0, [A5 - 0x308]
  724. 000007B8  2050                     movea.l    A0, [A0]
  725. 000007BA  3007                     move.w     D0, D7
  726. 000007BC  E540                     asl        D0.w, 2
  727. 000007BE  218B 00FC                move.l     [A0 + D0.w - 0x4], A3
  728. 000007C2  200B                     move.l     D0, A3
  729. 000007C4  6738                     beq        +0x3A /* 000007FE */
  730. 000007C6  206D FCFC                movea.l    A0, [A5 - 0x304]
  731. 000007CA  2050                     movea.l    A0, [A0]
  732. 000007CC  3007                     move.w     D0, D7
  733. 000007CE  E540                     asl        D0.w, 2
  734. 000007D0  48E7 8080                movem.l    -[A7], D0,A0
  735. 000007D4  42A7                     clr.l      -[A7]
  736. 000007D6  2F0B                     move.l     -[A7], A3
  737. 000007D8  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  738. 000007DA  221F                     move.l     D1, [A7]+
  739. 000007DC  4CDF 0101                movem.l    D0,A0, [A7]+
  740. 000007E0  2181 00FC                move.l     [A0 + D0.w - 0x4], D1
  741. 000007E4  206D FCD8                movea.l    A0, [A5 - 0x328]
  742. 000007E8  2050                     movea.l    A0, [A0]
  743. 000007EA  2F08                     move.l     -[A7], A0
  744. 000007EC  4267                     clr.w      -[A7]
  745. 000007EE  2F0B                     move.l     -[A7], A3
  746. 000007F0  4EAD 2192                jsr        [A5 + 0x2192 /* export_1070 */]
  747. 000007F4  101F                     move.b     D0, [A7]+
  748. 000007F6  205F                     movea.l    A0, [A7]+
  749. 000007F8  1180 70FF                move.b     [A0 + D7.w - 0x1], D0
  750. 000007FC  601A                     bra        +0x1C /* 00000818 */
  751. label000007FE:
  752. 000007FE  206D FCFC                movea.l    A0, [A5 - 0x304]
  753. 00000802  2050                     movea.l    A0, [A0]
  754. 00000804  3007                     move.w     D0, D7
  755. 00000806  E540                     asl        D0.w, 2
  756. 00000808  7200                     moveq.l    D1, 0x00
  757. 0000080A  2181 00FC                move.l     [A0 + D0.w - 0x4], D1
  758. 0000080E  206D FCD8                movea.l    A0, [A5 - 0x328]
  759. 00000812  2050                     movea.l    A0, [A0]
  760. 00000814  4230 70FF                clr.b      [A0 + D7.w - 0x1]
  761. label00000818:
  762. 00000818  5247                     addq.w     D7, 1
  763. 0000081A  6906                     bvs        +0x8 /* 00000822 */
  764. label0000081C:
  765. 0000081C  BE6E FEDE                cmp.w      D7, [A6 - 0x122]
  766. 00000820  6F88                     ble        -0x76 /* 000007AA */
  767. label00000822:
  768. 00000822  1F05                     move.b     -[A7], D5
  769. 00000824  A99B                     syscall    SetResLoad
  770. 00000826  4267                     clr.w      -[A7]
  771. 00000828  486D 026A                pea.l      [A5 + 0x26A /* export_73 */]
  772. 0000082C  4EAD 2312                jsr        [A5 + 0x2312 /* export_1118 */]
  773. 00000830  381F                     move.w     D4, [A7]+
  774. 00000832  206D FCB8                movea.l    A0, [A5 - 0x348]
  775. 00000836  2050                     movea.l    A0, [A0]
  776. 00000838  11BC 0001 40FF           move.b     [A0 + D4.w - 0x1], 0x1
  777. 0000083E  206D FCD8                movea.l    A0, [A5 - 0x328]
  778. 00000842  2050                     movea.l    A0, [A0]
  779. 00000844  11BC 0001 40FF           move.b     [A0 + D4.w - 0x1], 0x1
  780. 0000084A  4267                     clr.w      -[A7]
  781. 0000084C  486D 2362                pea.l      [A5 + 0x2362 /* export_1128 */]
  782. 00000850  4EAD 2312                jsr        [A5 + 0x2312 /* export_1118 */]
  783. 00000854  3D5F FEE6                move.w     [A6 - 0x11A], [A7]+
  784. 00000858  206D FCB8                movea.l    A0, [A5 - 0x348]
  785. 0000085C  2050                     movea.l    A0, [A0]
  786. 0000085E  302E FEE6                move.w     D0, [A6 - 0x11A]
  787. 00000862  11BC 0001 00FF           move.b     [A0 + D0.w - 0x1], 0x1
  788. 00000868  206D FCD8                movea.l    A0, [A5 - 0x328]
  789. 0000086C  2050                     movea.l    A0, [A0]
  790. 0000086E  302E FEE6                move.w     D0, [A6 - 0x11A]
  791. 00000872  11BC 0001 00FF           move.b     [A0 + D0.w - 0x1], 0x1
  792. 00000878  42A7                     clr.l      -[A7]
  793. 0000087A  42A7                     clr.l      -[A7]
  794. 0000087C  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  795. 00000880  2B57 FCEC                move.l     [A5 - 0x314], [A7]
  796. 00000884  4EAD 206A                jsr        [A5 + 0x206A /* export_1033 */]
  797. 00000888  2F3C 4C44 4546           move.l     -[A7], 0x4C444546 /* 'LDEF' */
  798. 0000088E  2F2D FCEC                move.l     -[A7], [A5 - 0x314]
  799. 00000892  4EBA FC60                jsr        [PC - 0x3A0 /* 000004F4 */]
  800. 00000896  2F3C 4344 4546           move.l     -[A7], 0x43444546 /* 'CDEF' */
  801. 0000089C  2F2D FCEC                move.l     -[A7], [A5 - 0x314]
  802. 000008A0  4EBA FC52                jsr        [PC - 0x3AE /* 000004F4 */]
  803. 000008A4  2F3C 4D44 4546           move.l     -[A7], 0x4D444546 /* 'MDEF' */
  804. 000008AA  2F2D FCEC                move.l     -[A7], [A5 - 0x314]
  805. 000008AE  4EBA FC44                jsr        [PC - 0x3BC /* 000004F4 */]
  806. 000008B2  2F3C 5744 4546           move.l     -[A7], 0x57444546 /* 'WDEF' */
  807. 000008B8  2F2D FCEC                move.l     -[A7], [A5 - 0x314]
  808. 000008BC  4EBA FC36                jsr        [PC - 0x3CA /* 000004F4 */]
  809. 000008C0  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  810. 000008C6  2F2D FCEC                move.l     -[A7], [A5 - 0x314]
  811. 000008CA  4EBA FC28                jsr        [PC - 0x3D8 /* 000004F4 */]
  812. 000008CE  206E 000C                movea.l    A0, [A6 + 0xC]
  813. 000008D2  7000                     moveq.l    D0, 0x00
  814. 000008D4  2080                     move.l     [A0], D0
  815. 000008D6  206E 0008                movea.l    A0, [A6 + 0x8]
  816. 000008DA  7000                     moveq.l    D0, 0x00
  817. 000008DC  2080                     move.l     [A0], D0
  818. 000008DE  7000                     moveq.l    D0, 0x00
  819. 000008E0  2D40 FFF4                move.l     [A6 - 0xC], D0
  820. 000008E4  4267                     clr.w      -[A7]
  821. 000008E6  2F3C 7365 6721           move.l     -[A7], 0x73656721 /* 'seg!' */
  822. 000008EC  A99C                     syscall    CountResources
  823. 000008EE  3D5F FEDC                move.w     [A6 - 0x124], [A7]+
  824. 000008F2  7E01                     moveq.l    D7, 0x01
  825. 000008F4  602A                     bra        +0x2C /* 00000920 */
  826. label000008F6:
  827. 000008F6  42A7                     clr.l      -[A7]
  828. 000008F8  2F3C 7365 6721           move.l     -[A7], 0x73656721 /* 'seg!' */
  829. 000008FE  3F07                     move.w     -[A7], D7
  830. 00000900  A99D                     syscall    GetIndResource
  831. 00000902  2C1F                     move.l     D6, [A7]+
  832. 00000904  206E 000C                movea.l    A0, [A6 + 0xC]
  833. 00000908  2F08                     move.l     -[A7], A0
  834. 0000090A  42A7                     clr.l      -[A7]
  835. 0000090C  2F06                     move.l     -[A7], D6
  836. 0000090E  4EBA FC9C                jsr        [PC - 0x364 /* 000005AC */]
  837. 00000912  201F                     move.l     D0, [A7]+
  838. 00000914  205F                     movea.l    A0, [A7]+
  839. 00000916  D190                     add.l      [A0], D0
  840. 00000918  2F06                     move.l     -[A7], D6
  841. 0000091A  A9A3                     syscall    ReleaseResource
  842. 0000091C  5247                     addq.w     D7, 1
  843. 0000091E  6906                     bvs        +0x8 /* 00000926 */
  844. label00000920:
  845. 00000920  BE6E FEDC                cmp.w      D7, [A6 - 0x124]
  846. 00000924  6FD0                     ble        -0x2E /* 000008F6 */
  847. label00000926:
  848. 00000926  4267                     clr.w      -[A7]
  849. 00000928  2F3C 6D65 6D21           move.l     -[A7], 0x6D656D21 /* 'mem!' */
  850. 0000092E  A99C                     syscall    CountResources
  851. 00000930  3D5F FEDA                move.w     [A6 - 0x126], [A7]+
  852. 00000934  7E01                     moveq.l    D7, 0x01
  853. 00000936  6034                     bra        +0x36 /* 0000096C */
  854. label00000938:
  855. 00000938  42A7                     clr.l      -[A7]
  856. 0000093A  2F3C 6D65 6D21           move.l     -[A7], 0x6D656D21 /* 'mem!' */
  857. 00000940  3F07                     move.w     -[A7], D7
  858. 00000942  A99D                     syscall    GetIndResource
  859. 00000944  2C1F                     move.l     D6, [A7]+
  860. 00000946  2046                     movea.l    A0, D6
  861. 00000948  2850                     movea.l    A4, [A0]
  862. 0000094A  206E 000C                movea.l    A0, [A6 + 0xC]
  863. 0000094E  2014                     move.l     D0, [A4]
  864. 00000950  D190                     add.l      [A0], D0
  865. 00000952  206E 0008                movea.l    A0, [A6 + 0x8]
  866. 00000956  202C 0004                move.l     D0, [A4 + 0x4]
  867. 0000095A  D190                     add.l      [A0], D0
  868. 0000095C  202C 0008                move.l     D0, [A4 + 0x8]
  869. 00000960  D1AE FFF4                add.l      [A6 - 0xC], D0
  870. 00000964  2F06                     move.l     -[A7], D6
  871. 00000966  A9A3                     syscall    ReleaseResource
  872. 00000968  5247                     addq.w     D7, 1
  873. 0000096A  6906                     bvs        +0x8 /* 00000972 */
  874. label0000096C:
  875. 0000096C  BE6E FEDA                cmp.w      D7, [A6 - 0x126]
  876. 00000970  6FC6                     ble        -0x38 /* 00000938 */
  877. label00000972:
  878. 00000972  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  879. 00000976  4EBA 001C                jsr        [PC + 0x1C /* 00000994 */]
  880. 0000097A  A063                     syscall    MaxApplZone
  881. 0000097C  7000                     moveq.l    D0, 0x00
  882. 0000097E  2B40 FCE0                move.l     [A5 - 0x320], D0
  883. 00000982  7000                     moveq.l    D0, 0x00
  884. 00000984  2B40 FCDC                move.l     [A5 - 0x324], D0
  885. 00000988  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  886. 0000098C  4E5E                     unlink     A6
  887. 0000098E  205F                     movea.l    A0, [A7]+
  888. 00000990  504F                     addq.w     A7, 8
  889. 00000992  4ED0                     jmp        [A0]
  890. fn00000994:
  891. 00000994  4E56 FFF8                link       A6, -0x0008
  892. 00000998  2F07                     move.l     -[A7], D7
  893. 0000099A  42A7                     clr.l      -[A7]
  894. 0000099C  2EB8 0908                move.l     [A7], [0x00000908 /* CurStackBase */]
  895. 000009A0  2E1F                     move.l     D7, [A7]+
  896. 000009A2  9EAE 0008                sub.l      D7, [A6 + 0x8]
  897. 000009A6  42A7                     clr.l      -[A7]
  898. 000009A8  2EB8 0130                move.l     [A7], [0x00000130 /* ApplLimit */]
  899. 000009AC  BE9F                     cmp.l      D7, [A7]+
  900. 000009AE  6C06                     bge        +0x8 /* 000009B6 */
  901. 000009B0  2F07                     move.l     -[A7], D7
  902. 000009B2  205F                     movea.l    A0, [A7]+
  903. 000009B4  A02D                     syscall    SetApplLimit
  904. label000009B6:
  905. 000009B6  2E1F                     move.l     D7, [A7]+
  906. 000009B8  4E5E                     unlink     A6
  907. 000009BA  2E9F                     move.l     [A7], [A7]+
  908. 000009BC  4E75                     rts
  909. 000009BE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  910. // begin alternate branch 000009C0-000009C6
  911. fn000009C0:
  912. 000009C0  4E56 0000                link       A6, 0
  913. 000009C4  7000                     moveq.l    D0, 0x00
  914. // end alternate branch 000009C0-000009C6
  915. fn000009C0: // (misaligned)
  916. 000009C2  0000 7000                ori.b      D0, 0x0
  917. 000009C6  2B40 FD30                move.l     [A5 - 0x2D0], D0
  918. 000009CA  4E5E                     unlink     A6
  919. 000009CC  4E75                     rts
  920. 000009CE  0000                     .incomplete
  921.